package com.pro_one.pojo;

import java.io.Serializable;
/*
* 膳食库*/
public class Meals implements Serializable {
    private Integer id;//id号
    private String number; // 序号
    private String name;//食物名字
    private String plain;//食物说明
    private String foodkcal;//食物热量
    private  String foodkj;//食物含的能量
    private String foodprotein;//食物含蛋白质
    private  String foodfat;//食物含脂肪
    private String foodunit; // 食用尺寸
    private  String age;//使用年龄

    public Meals() {
    }
    public Meals( String number, String name, String plain, String foodkcal, String foodkj, String foodprotein, String foodfat, String foodunit, String age) {
        this.number = number;
        this.name = name;
        this.plain = plain;
        this.foodkcal = foodkcal;
        this.foodkj = foodkj;
        this.foodprotein = foodprotein;
        this.foodfat = foodfat;
        this.foodunit = foodunit;
        this.age = age;
    }
    public Meals(Integer id, String number, String name, String plain, String foodkcal, String foodkj, String foodprotein, String foodfat, String foodunit, String age) {
        this.id = id;
        this.number = number;
        this.name = name;
        this.plain = plain;
        this.foodkcal = foodkcal;
        this.foodkj = foodkj;
        this.foodprotein = foodprotein;
        this.foodfat = foodfat;
        this.foodunit = foodunit;
        this.age = age;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getPlain() {
        return plain;
    }

    public void setPlain(String plain) {
        this.plain = plain;
    }

    public String getFoodkcal() {
        return foodkcal;
    }

    public void setFoodkcal(String foodkcal) {
        this.foodkcal = foodkcal;
    }

    public String getFoodkj() {
        return foodkj;
    }

    public void setFoodkj(String foodkj) {
        this.foodkj = foodkj;
    }

    public String getFoodprotein() {
        return foodprotein;
    }

    public void setFoodprotein(String foodprotein) {
        this.foodprotein = foodprotein;
    }

    public String getFoodfat() {
        return foodfat;
    }

    public void setFoodfat(String foodfat) {
        this.foodfat = foodfat;
    }

    public String getFoodunit() {
        return foodunit;
    }

    public void setFoodunit(String foodunit) {
        this.foodunit = foodunit;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "Meals{" +
                "id=" + id +
                ", number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", plain='" + plain + '\'' +
                ", foodkcal='" + foodkcal + '\'' +
                ", foodkj='" + foodkj + '\'' +
                ", foodprotein='" + foodprotein + '\'' +
                ", foodfat='" + foodfat + '\'' +
                ", foodunit='" + foodunit + '\'' +
                ", age='" + age + '\'' +
                '}';
    }
}
